const scores = [90, 85, 95, 78, 88];
console.log(scores)
let total = 0;
for (let i = 0; i < scores.length; i++) {
total += scores[i];
}
const average = total / scores.length;
console.log(average);
let shopping = ["bread", "milk", "cheese", "hummus", "noodles"];
let ramdom = ["bread", "milk", 18, 20];
console.log(shopping)
console.log(shopping[1])
console.log(scores[3])
let result1 = shopping.join("-")

let result2 = shopping.indexOf("milk")

let result3 = shopping.concat(["apple", "orange"])

let result4 = shopping.push("pencil")

console.log(result1)